package com.stu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @projectName: learn_used_code
 * @packageName: com.stu.config
 * @className: com.stu.config-> VcenterConfig
 * @createDate: 2021-11-19 18:26
 * @author: ZhangSheng
 * @version: 1.0
 * @description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "franky.v-center-config")
public class VcenterConfig {

    //franky.v-center-config.ip=192.168.157.2
    //franky.v-center-config.port=443
    //franky.v-center-config.userName=frank@vsphere.local
    //franky.v-center-config.password=frank@123


    private String ip = "192.168.157.2";

    private Integer port = 443;

    private String userName = "frank@vsphere.local";

    private String password = "frank@123";

}
